#include <iostream>
class Complex{
private:
 double real;//atribute
 double imag;//atribute
public:
Complex();//constructor implicit
Complex(double real,double imag);//constructor explicit
Complex(const Complex& c);//constructor de copiere
//~Complex();//destructor
Complex (const Complex *c);
double getReal();//accesor
double getImag();
void setReal(double re);//modificator
void setImag(double im);
Complex operator +(Complex c);
Complex operator +(double d);
Complex operator *(Complex c);
Complex operator *(double d);
Complex operator /(Complex c);
Complex operator /(double d);
Complex operator -(Complex c);
Complex operator -(double d);
Complex operator ^(double d);
//Complex operator ^(Complex c);
bool	operator <(Complex c);
bool	operator <(double d);
bool	operator <=(Complex c);
bool	operator <=(double d);
bool 	operator >(Complex c);
bool	operator >(double d);
bool	operator >=(Complex c);
bool	operator >=(double d);
friend std::istream &operator >> (std::istream&,Complex&);
friend std::ostream &operator << (std::ostream&,Complex);
Complex operator ++();
Complex operator --();
Complex sqrt();
Complex rt(int g);//radacina de gradul g
};

